package com.buba.user.service;

import com.buba.pojo.other.DivisionType;
import com.buba.pojo.other.HospitalGuide;
import com.buba.pojo.other.PackageYpe;
import com.buba.pojo.other.SetMeal;
import com.buba.pojo.system.Health;
import com.buba.pojo.system.NewsBulletin;
import com.buba.pojo.user.Campus;
import com.buba.pojo.user.Doctor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.buba.pojo.user.User;
import com.buba.user.pojo.CampusVo;
import com.buba.user.pojo.DivisionVo;
import com.buba.user.pojo.DoctorVo;
import com.buba.user.pojo.MealVo;

import java.util.List;

/**
 * <p>
 * 医生表 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-06-09
 */
public interface DoctorService extends IService<Doctor> {

    List<Doctor> getDoctors(String day);

    List<DoctorVo> findDoctorAll();

    List<DivisionVo> findDivisionAll();

    List<Health> findHealthAll();

    List<CampusVo> findCampusAll();

    int addDoctor(com.buba.user.pojo.DoctorVo doctorVo, Doctor doctor, Campus campus, DivisionType divisionType);

    int updDoctor(com.buba.user.pojo.DoctorVo doctorVo, Doctor doctor, Campus campus, DivisionType divisionType);

    int delDoctor(Doctor doctor);

    List<DoctorVo> mhcAdd(String doctorName, String divisionName);

    int addDivision(DivisionVo divisionVo);

    int updDivision(DivisionVo divisionVo, DivisionType divisionType, Campus campus, HospitalGuide hospitalGuide);

    int delDepartment(DivisionType divisionType);

    List<DivisionVo> Depmhc(String campusName, String divisionName);

    int Healthy(Health health);

    int updHealth(Health health);

    int mtkHealth(Health health);

    List<Health> Heamhc(String htitle);

    List<MealVo> finMealAll();

    int MealAdd(MealVo mealVo , SetMeal setMeal, Campus campus , PackageYpe packageYpe);

    int MealUpd(MealVo mealVo , SetMeal setMeal, Campus campus , PackageYpe packageYpe);

    int delMeal(MealVo mealVo);

    List<PackageYpe> findPackAll();

    int pkAdd(PackageYpe packageYpe);

    int pkUpd(PackageYpe packageYpe);

    int delpk(PackageYpe packageYpe);

    List<PackageYpe> lxmhc(String pkName);

    List<MealVo> taomtk(String setMealName);

    List<User> findAdminAll();

    int AddAdmin(User user);

    int UpdAdmin(User user);

    List<User> mhcAdmin(String userName);

    int shanchu(String id);

    List<NewsBulletin> findMessageAll();


    int MessageAdd(NewsBulletin newsBulletin);

    int MessageUpd(NewsBulletin newsBulletin);

    int MessageDel(String id);

    List<NewsBulletin> mhcMessage(String newsTitle);

    List<NewsBulletin> findMessageAlls();

    int MessageAdds(NewsBulletin newsBulletin);

    int MessageUpds(NewsBulletin newsBulletin);

    int MessageDels(String id);

    List<NewsBulletin> mhcMessages(String newsTitle);

    int mimaUpd(Integer id,String password);

}
